package cn.qiao.lock;

import java.io.FileInputStream;

/**
 * desc:
 *
 * @author qiao
 * @date 2024年04月02日 20:44
 */
public class Test {
    public static void main(String[] args) {
        Common.lock(new Execute() {
            public void execute() {
                System.out.println("执行操作");
                try {
                    Thread.sleep(5*5000);
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
            }
        });
    }
}
